/*
 * Class created by lensfrex.
 */

package net.lensfrex.dscape.web.controllers.user.admin;

import net.lensfrex.dscape.domain.response.Response;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/user/admin")
public class Admin {
    @PostMapping(value = "/add", produces = "application/json")
    public Response addUser(@RequestBody String body,
                            @RequestHeader String token) {
        return Response.error(0, "Not implement");
    }

    @PostMapping(value = "/modifyStatus/{uid}", produces = "application/json")
    public Response modifyStatus(@RequestBody String body, @PathVariable String uid,
                                 @RequestHeader String token) {
        return Response.error(0, "Not implement");
    }

    @GetMapping(value = "/application/list", produces = "application/json")
    public Response listApplication(
            @RequestParam String offset, @RequestParam String limit, @RequestParam String page,
            @RequestHeader String token) {
        return Response.error(0, "Not implement");
    }

    @PostMapping(value = "/application/deal/{uid}", produces = "application/json")
    public Response dealApplication(@RequestBody String body, @PathVariable String uid,
                                    @RequestHeader String token) {
        return Response.error(0, "Not implement");
    }
}